﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace SpiralClockDemo
{
    class Event : INotifyPropertyChanged
    {

        public Event(DateTime when)
        {

            When = when;
        }

        DateTime when;

        public DateTime When { get { return when; } set { when = value;
        if (PropertyChanged != null)
            PropertyChanged(this, new PropertyChangedEventArgs("When"));
        
        
        } }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
